	<!--main content start-->
			<section class="wrapper">
				<!-- page start-->
				<section class="panel">
					<header class="panel-heading"> LISTING MANAGEMENT </header>
					<div class="panel-body">
					<form name="cat" class="form-horizontal" role="form" method="POST" enctype="multipart/form-data"
				action="<?= base_url(); ?>secure/listing/listings/upload_logo/<?=$profile_id; ?>">
						
 <?php
                    if ($this->session->flashdata('message')) {
                        $msg = $this->session->flashdata('message');
                        echo '<font color="red">' . $msg . '</font>';
                    }
                    ?> 
							<div class="form-group">
								<label for="input" class="col-lg-2 control-label">Profile Logo</label>
								
								<div class="col-lg-6">
								
								<input type="file" class="form-control" name="userfile" value="Browse" />
                       			<input
							type="hidden" name="profile_id" value="<?= $profile_id; ?> "> 
							<input type="submit" name="upload" class="btn btn-danger" value="Add Logo" <?php if($this->config->item('mode')=='DEMO'){?>onclick="alert ('Sorry! Not allowed in Demo mode '); return false;" <?} else?>onclick="return confirm('Are you sure ?');"  >
								</div>
								
							<div class="col-lg-2">
									<img alt="" width="150px" height="150px" src="<?= base_url();?>assets/images/photo/<?= $photo;?>">
								</div>
							
							</div>
							
						</form>
					</div>
					<!-- End of Body Panel -->
				</section>
				<!-- page end-->
			</section>
		